package com.mdd.admin.service.subject;

import com.mdd.admin.validate.common.PageParam;
import com.mdd.admin.validate.subject.SubjectCourseBatchParam;
import com.mdd.admin.validate.subject.SubjectCourseParam;
import com.mdd.admin.vo.subject.SubjectCourseListVo;
import com.mdd.admin.vo.subject.SubjectCourseDetailVo;
import com.mdd.common.core.PageResult;

import java.util.Map;

/**
 * 专题专区课程服务接口类
 * @author panweiliang
 */
public interface ISubjectCourseService {

    /**
     * 专题专区课程新增
     *
     * @author panweiliang
     * @param subjectCourseParam 参数
     */
    void add(SubjectCourseParam subjectCourseParam);

    /**
     * 批量新增专题专区课程
     *
     * @author panweiliang
     * @param subjectCourseBatchParam 参数
     */
    void addInBulk(SubjectCourseBatchParam subjectCourseBatchParam);

    /**
     * 专题专区课程删除
     *
     * @author panweiliang
     * @param id 主键ID
     */
    void del(Integer id);

    /**
     * 专题专区课程删除
     *
     * @author panweiliang
     * @param courseId 课程ID
     * @param subjectId 专题/专区id
     */
    void del(Integer courseId, Integer subjectId);

}
